<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div>
        alsdfjkadjfl
    </div>
</body>
</html>
<script>
    // window.onload = function() {
    //     var user = window.sessionStorage.getItem('user')
    //     if(!user) {
    //         window.location.href = './login/login.html'
    //     } else {
    //         console.log(JSON.parse(window.sessionStorage.getItem('user')))
    //     }
    // }
</script>
<style>
    /* 整个页面背景色 */
    body {
        background-color: #f6f6f6;
    }
</style>